<style>
.term {
    background-color: #def
}
.type {
    background-color: #fed;
    font-size: 70%;
}
</style>
Feed : ${url}
<table border="1">
    <tr>
        <th>Title</th>
        <th>Link</th>
        <th>Description</th>
        <th>Default Thai Analyzer</th>
        <th>Name Entities</th>
    </tr>

    <g:if test="${feeds != null}">
    <% feeds.eachWithIndex { entry, idx -> %>      
    <tr>
    <td> ${entry.title} </td>
    <td> 
      ${entry.link} 
      <g:link action="parseEntry" params="[link:entry.link]">parse entry </g:link>
    </td>
    <td> ${entry.content} </td>
    <td> 
        <p>Time: ${entry.timeLuceneAnalysis} ms</p>
         <% entry.tokens.each { term -> %>         
            <span class="term">${ term.termText() }</span>
         <% } %>
         
    </td>
    <td>
        <p>Time: ${entry.timeNameEntity} ms</p>
        <ul>
        <% entry.nameEntities.each { en -> %>
            <li>${en.name} : ${en.type}</li>
        <% } %>
        </ul>
    </td>
    </tr>
    <% } %>
    </g:if>

</table>